package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("新增分类数据模型")
public class AddCategoryDTO {
    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty(value = "分类名称",required = true,example = "蔬菜")
    private String name;
    @ApiModelProperty(value = "排序方式",required = true,example = "1")
    private Integer sort;
    @ApiModelProperty(value = "类型 1：菜品 2：套餐",required = true,example = "1")
    private Integer type;
}
